package cn.zjweu.mapper;

import cn.zjweu.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface RegisterMapper {

    int register(@Param("username") String username, @Param("password") String password, @Param("trueName") String trueName,
                 @Param("telephone") String telephone, @Param("city") String city, @Param("address") String address);
    User isExist(@Param("username") String username);
}
